#pragma once
#include "PDTStatement.h"
#include "PDTExp.h"

class PDTWhile: public PDTStatement{
public:
	void setCondition(PDTExpBool & condition);
	void setLoopStatement(PDTStatement & loopStatement);

	PDTExpBool* getCondition();
	PDTStatement * getLoopStatement();

	PDTWhile(PDTCodeGraph & CG,PDTExpBool & condition,PDTStatement & loopStatement);
	NodeTypeEnum getType(){return PDTWhile_Em;}
	bool isPDTWhile(){return true;}

};
